package com.bianmaba.controllers.datacollection;

import com.bianmaba.spring.web.controller.CrudController;
import com.bianmaba.beans.datacollection.CollectionInterface;
import com.bianmaba.services.datacollection.ICollectionInterfaceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping(value = "datacollection/interface")
public class CollectionInterfaceController extends CrudController<CollectionInterface, String> {
    @Autowired
    private ICollectionInterfaceService service;

    @Override
    protected ICollectionInterfaceService getService() {
        return service;
    }
}
